package test.serverframe.armc.server.manager.domain.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.Min;

/**
 * @Author: Uaena
 * @Date: 2019/1/2 0002 13:54
 * @Version 1.0
 */

@ApiModel("标签分页参数")
public class TagPageParams {
    @Min(value = 1, message = "pageNum必须大于0")
    @ApiModelProperty("页码")
    private int pageNum;

    @Min(value = 1, message = "pageSize必须大于0")
    @ApiModelProperty("数量")
    private int pageSize;

    @ApiModelProperty("标签名")
    private String tagName;

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getTagName() {
        return tagName;
    }

    public void setTagName(String tagName) {
        this.tagName = tagName;
    }
}
